<?php 
	$menu = array(
		'/o-nama' => 'O nama',
		'/novosti' => 'Novosti',
		'/proizvodjaci' => 'Proizvođači',
		'/proizvodi' => 'Proizvodi',
		'/recepti' => 'Recepti',
		'/kontakt' => 'Kontakt'
	);
?><ul id="menu">
	<?php foreach($menu as $link=>$label): ?>
	<li>
		<?php 
			$r = Router::parse($link);
			$condition =  $r['controller'] == $this->request['controller'] && $r['action'] == $this->request['action'];
			if(!empty($this->request['pass'])) {
				$condition = $condition && $this->request['pass'] == $r['pass'];
			}
		?>
		
		<?php if($condition): ?>
			<strong><?=  $label ?></strong>
		<?php else: ?>
			<a href="<?=  $link ?>"><?=  $label ?></a>
		<?php endif; ?>
	</li>
	<?php endforeach; ?>
</ul>